package cn.zcib.tms.dao;

import cn.zcib.tms.model.Service;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ServiceMapper {

    List<Service> findAllService(@Param("type") Integer type,@Param("key") String key);

    Service findServiceById(String id);

    void addService(Service service);

    void deleteService(String id);
}